package org.ellisande.tld;

import com.thoughtworks.xstream.annotations.XStreamAlias;

@XStreamAlias("attribute")
public class Attribute {
	private String name;
	private boolean required = false;
	
	@XStreamAlias("rtexprvalue")
	private boolean evaluateExpressions = true;
	private String description = "";

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public boolean isRequired() {
		return required;
	}

	public void setRequired(boolean required) {
		this.required = required;
	}

	public boolean isEvaluateExpressions() {
		return evaluateExpressions;
	}

	public void setEvaluateExpressions(boolean evaluateExpressions) {
		this.evaluateExpressions = evaluateExpressions;
	}

}
